home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 30
/
Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso
/
Aminet
/
dev
/
lang
/
SmallEiffel.lha
/
SmallEiffel
/
bin_c
/
pretty27.c
< prev
next >
Wrap
C/C++ Source or Header
|
1998-12-22
|
35KB
|
1,744 lines
/*
-- ANSI C code generated by :
-- SmallEiffel The GNU Eiffel Compiler -- Release (- 0.79) --
-- Copyright (C), 1994-98 - LORIA - UHP - CRIN - INRIA - FRANCE --
-- Dominique COLNET and Suzanne COLLIN - colnet@loria.fr --
-- http://www.loria.fr/SmallEiffel --
*/
#include "pretty.h"
T0* r280language_name(void){
T0* R=NULL;
R=((T0*)ms12_50768);
return R;
}
/*No:NATIVE_INLINE_WITH_CURRENT.pretty_print*/
/*No:NATIVE_INLINE_WITH_CURRENT.fz_c_inlinewithcurrent*/
/*No:CALL_INFIX_INT_DIV.feature_name*/
/*No:CALL_INFIX_INT_DIV.right_brackets*/
T0* r118start_position(T118* C){
T0* R=NULL;
R=((T121*)((C)->_feature_name/*12*/))->_start_position/*8*/;
return R;
}
T0* r118add_comment(T118* C,T0* a1){
T0* R=NULL;
/*[IF*/
if(((a1)==((void*)(NULL)))||((/*(IRF4.6count*/r32count(((T32*)((((T64*)a1))->_list/*4*/)))/*)*/)==(0))){
R=(T0*)C;
}
else{
{T214*n=malloc(sizeof(*n));
*n=M214;
r214make(n,(T0*)C,a1);
R=(T0*)n;
}
}
/*FI]*/
return R;
}
T2 r118to_integer(T118* C){
T2 R=0;
r118error(r118start_position(C),((T0*)ms12_45846));
return R;
}
void r118bracketed_pretty_print(T118* C){
r310put_character((T310*)(oBC11fmt),'\50');
r118pretty_print(C);
r310put_character((T310*)(oBC11fmt),'\51');
}
void r118print_op(T118* C){
r310put_character((T310*)(oBC11fmt),'\40');
/*[IRF3.6pretty_print*/{T121* C1=(T121*)((C)->_feature_name/*12*/);
r310put_string((T310*)(oBC11fmt),(C1)->_to_string/*4*/);
}/*]*/
r310put_character((T310*)(oBC11fmt),'\40');
}
T0* r118to_runnable(T118* C,T0* a1){
T0* R=NULL;
T0* _rf=NULL;
T0* _tbee=NULL;
T0* _at=NULL;
T0* _tt=NULL;
T0* _a=NULL;
T0* _t=NULL;
_t=r118runnable_expression((C)->_target/*4*/,a1);
_a=r118runnable_args((C)->_arguments/*8*/,a1);
_tt=X89result_type(_t);
_at=X89result_type(/*(IRF4.6arg1*//*(IRF4.3first*/(((T132*)((C)->_arguments/*8*/)))->_first_one/*0*//*)*//*)*/);
/*[IF*/
/*AF*//*AE*/
/*FI]*/
_rf=r118run_feature_for(C,_t,a1);
/*[IF*/
if(((C)->_run_feature/*16*/)==((void*)(NULL))){
C->_target=_t;
C->_arguments=_a;
C->_run_feature=_rf;
r118run_feature_match(C,a1);
R=(T0*)C;
}
else if(((_t)==((void*)((C)->_target/*4*/)))&&((_a)==((void*)((C)->_arguments/*8*/)))){
R=(T0*)C;
}
else{
{T118*n=malloc(sizeof(*n));
*n=M118;
r118with(n,_t,(C)->_feature_name/*12*/,_a,_rf,a1);
R=(T0*)n;
}
}
/*FI]*/
return R;
}
/*No:CALL_INFIX_INT_DIV.fz_bad_argument*/
/*No:CALL_INFIX_INT_DIV.fz_iinaiv*/
T0* r118result_type(T118* C){
T0* R=NULL;
T0* _tla=NULL;
R=X312result_type((C)->_run_feature/*16*/);
/*[IF*/
if(X62is_like_current(R)){
R=/*X312current_type*/((T0*)((T325*)((C)->_run_feature/*16*/))->_current_type/*4*/);
}
else{
_tla=R;
if(NULL!=(_tla))switch(((T0*)_tla)->id) {
case 242:
break;
default:
_tla=NULL;
};/*[IF*/
if((_tla)!=((void*)(NULL))){
R=X62run_type(X89result_type(/*(IRF4.6arg1*//*(IRF4.3first*/(((T132*)((C)->_arguments/*8*/)))->_first_one/*0*//*)*//*)*/));
}
/*FI]*/
}
/*FI]*/
return R;
}
/*No:CALL_INFIX_INT_DIV.run_feature*/
T0* r118runnable_args(T0* a1,T0* a2){
T0* R=NULL;
R=r132to_runnable(((T132*)a1),a2);
/*[IF*/
if((R)==((void*)(NULL))){
r37add_position(r132start_position(((T132*)a1)));
/*[IRF3.6fatal_error*/{T0* b1=((T0*)ms12_13065);
r37fatal_error((T37*)(oBC11eh),b1);
}/*]*/
}
/*FI]*/
return R;
}
/*No:CALL_INFIX_INT_DIV.us_slash_slash*/
void r118with(T118* C,T0* a1,T0* a2,T0* a3,T0* a4,T0* a5){
C->_target=a1;
C->_feature_name=a2;
C->_arguments=a3;
C->_run_feature=a4;
r118run_feature_match(C,a5);
}
/*No:CALL_INFIX_INT_DIV.fatal_error*/
void r118run_feature_match(T118* C,T0* a1){
r118run_feature_has_result(C);
r132match_with((T132*)((C)->_arguments/*8*/),(C)->_run_feature/*16*/,a1);
}
/*No:CALL_INFIX_INT_DIV.arguments*/
T0* r118runnable_expression(T0* a1,T0* a2){
T0* R=NULL;
R=X89to_runnable(a1,a2);
/*[IF*/
if((R)==((void*)(NULL))){
r37add_position(X89start_position(a1));
/*[IRF3.6fatal_error*/{T0* b1=((T0*)ms101_16515);
r37fatal_error((T37*)(oBC11eh),b1);
}/*]*/
}
/*FI]*/
return R;
}
/*No:CALL_INFIX_INT_DIV.left_brackets*/
/*No:CALL_INFIX_INT_DIV.implicit_cast*/
void r118print_as_target(T118* C){
r310put_character((T310*)(oBC11fmt),'\50');
r118pretty_print(C);
r310put_character((T310*)(oBC11fmt),'\51');
r310put_character((T310*)(oBC11fmt),'\56');
}
/*No:CALL_INFIX_INT_DIV.arg1*/
void r118run_feature_has_result(T118* C){
/*[IF*/
if((X312result_type((C)->_run_feature/*16*/))==((void*)(NULL))){
r37add_position(X312start_position((C)->_run_feature/*16*/));
r37add_position(((T121*)((C)->_feature_name/*12*/))->_start_position/*8*/);
/*[IRF3.6fatal_error*/{T0* b1=((T0*)ms100_53650);
r37fatal_error((T37*)(oBC11eh),b1);
}/*]*/
}
/*FI]*/
}
T0* r118run_feature_for(T118* C,T0* a1,T0* a2){
T0* R=NULL;
T0* _rc=NULL;
_rc=X62run_class(X89result_type(a1));
R=r313get_rf(((T313*)_rc),a1,(C)->_feature_name/*12*/,a2);
return R;
}
/*No:CALL_INFIX_INT_DIV.target*/
void r118error(T0* a1,T0* a2){
r37add_position(a1);
r37error((T37*)(oBC11eh),a2);
}
/*No:CALL_INFIX_INT_DIV.precedence*/
void r118make(T118* C,T0* a1,T0* a2,T0* a3){
C->_target=a1;
{T121*n=malloc(sizeof(*n));
*n=M121;
r121make(n,r118operator(),a2);
C->_feature_name=(T0*)n;
}
{T132*n=malloc(sizeof(*n));
*n=M132;
/*[IRF3.3make_1*/((((T132*)(n)))->_first_one)=(a3);
/*]*/
C->_arguments=(T0*)n;
}
}
/*No:CALL_INFIX_INT_DIV.is_current*/
void r118pretty_print(T118* C){
/*[IF*/
if((X89precedence((C)->_target/*4*/))==(13)){
X89pretty_print((C)->_target/*4*/);
}
else if((8)>(X89precedence((C)->_target/*4*/))){
X89bracketed_pretty_print((C)->_target/*4*/);
}
else if((8)<(X89precedence((C)->_target/*4*/))){
X89pretty_print((C)->_target/*4*/);
}
/*AF*/else{
X89pretty_print((C)->_target/*4*/);
}
/*FI]*/
r118print_op(C);
/*[IF*/
if((X89precedence(/*(IRF4.6arg1*//*(IRF4.3first*/(((T132*)((C)->_arguments/*8*/)))->_first_one/*0*//*)*//*)*/))==(13)){
X89pretty_print(/*(IRF4.6arg1*//*(IRF4.3first*/(((T132*)((C)->_arguments/*8*/)))->_first_one/*0*//*)*//*)*/);
}
else if((8)>(X89precedence(/*(IRF4.6arg1*//*(IRF4.3first*/(((T132*)((C)->_arguments/*8*/)))->_first_one/*0*//*)*//*)*/))){
X89bracketed_pretty_print(/*(IRF4.6arg1*//*(IRF4.3first*/(((T132*)((C)->_arguments/*8*/)))->_first_one/*0*//*)*//*)*/);
}
else if((8)<(X89precedence(/*(IRF4.6arg1*//*(IRF4.3first*/(((T132*)((C)->_arguments/*8*/)))->_first_one/*0*//*)*//*)*/))){
X89pretty_print(/*(IRF4.6arg1*//*(IRF4.3first*/(((T132*)((C)->_arguments/*8*/)))->_first_one/*0*//*)*//*)*/);
}
else {/*AT*/X89bracketed_pretty_print(/*(IRF4.6arg1*//*(IRF4.3first*/(((T132*)((C)->_arguments/*8*/)))->_first_one/*0*//*)*//*)*/);
}
/*FI]*/
}
/*No:CALL_INFIX_INT_DIV.is_void*/
T0* r118operator(void){
T0* R=NULL;
R=((T0*)ms13_194);
return R;
}
/*No:CALL_INFIX_INT_DIV.atomic_precedence*/
/*No:RUN_FEATURE_8.use_current_state*/
/*No:RUN_FEATURE_8.actuals_clients*/
T0* r324start_position(T324* C){
T0* R=NULL;
R=r276start_position((T276*)((C)->_base_feature/*32*/));
return R;
}
/*No:RUN_FEATURE_8.us_twin*/
T2 r324integer_value(T324* C,T0* a1){
T2 R=0;
T0* _n=NULL;
_n=X65to_string((C)->_name/*16*/);
/*[IF*/
if((((T0*)ms13_22776))==((void*)(_n))){
R= T2BITS ;
}
else if((((T0*)ms13_29456))==((void*)(_n))){
R= T3BITS ;
}
else{
r37add_position(a1);
r37add_position(r324start_position(C));
/*[IRF3.6fatal_error*/{T0* b1=((T0*)ms12_45846);
r37fatal_error((T37*)(oBC11eh),b1);
}/*]*/
}
/*FI]*/
return R;
}
/*No:RUN_FEATURE_8.ucs_not_computed*/
/*No:RUN_FEATURE_8.fz_iinaiv*/
/*No:RUN_FEATURE_8.us_integer_bits*/
T0* r324run_class(T324* C){
T0* R=NULL;
R=X62run_class((C)->_current_type/*4*/);
return R;
}
/*No:RUN_FEATURE_8.result_type*/
/*No:RUN_FEATURE_8.base_feature*/
/*No:RUN_FEATURE_8.ensure_assertion*/
/*No:RUN_FEATURE_8.us_character_bits*/
T2 r324arg_count(T324* C){
T2 R=0;
/*[IF*/
if(((C)->_arguments/*36*/)!=((void*)(NULL))){
R=/*(IRF4.6count*/(((T175*)(((T171*)((C)->_arguments/*36*/))->_flat_list/*8*/)))->_upper/*12*//*)*/;
}
/*FI]*/
return R;
}
T6 r324is_exported_in(T324* C,T0* a1){
T6 R=0;
R=r83gives_permission_to((T83*)(r324clients(C)),a1);
return R;
}
/*No:RUN_FEATURE_8.fatal_error*/
/*No:RUN_FEATURE_8.arguments*/
void r324initialize(T324* C){
T0* _type_bit_ref=NULL;
T0* _rf=NULL;
T0* _n=NULL;
_n=X65to_string(/*(IRF4.6first_name*/r67item(((T67*)(((T276*)((C)->_base_feature/*32*/))->_names/*8*/)),1)/*)*/);
C->_arguments=((T276*)((C)->_base_feature/*32*/))->_arguments/*20*/;
/*[IF*/
if((((T0*)ms13_2695))==((void*)(_n))){
_type_bit_ref=(C)->_current_type/*4*/;
if(NULL!=(_type_bit_ref))switch(((T0*)_type_bit_ref)->id) {
case 326:
break;
default:
_type_bit_ref=NULL;
};C->_result_type=(((T326*)_type_bit_ref))->_type_bit/*4*/;
/*[IF*/
if(((C)->_arguments/*36*/)!=((void*)(NULL))){
/*[IF*/
if(!(r171is_runnable((T171*)((C)->_arguments/*36*/),(C)->_current_type/*4*/))){
{T171*n=malloc(sizeof(*n));
*n=M171;
r171with(n,(C)->_arguments/*36*/,(C)->_current_type/*4*/);
C->_arguments=(T0*)n;
}
}
/*FI]*/
}
/*FI]*/
}
else{
C->_result_type=((T276*)((C)->_base_feature/*32*/))->_result_type/*48*/;
/*[IF*/
if(((C)->_arguments/*36*/)==((void*)(NULL))){
C->_result_type=X62to_runnable((C)->_result_type/*40*/,(C)->_current_type/*4*/);
}
else if(X62is_like_argument((C)->_result_type/*40*/)){
/*[IF*/
if(!(r171is_runnable((T171*)((C)->_arguments/*36*/),(C)->_current_type/*4*/))){
{T171*n=malloc(sizeof(*n));
*n=M171;
r171with(n,(C)->_arguments/*36*/,(C)->_current_type/*4*/);
C->_arguments=(T0*)n;
}
}
/*FI]*/
C->_result_type=X62to_runnable((C)->_result_type/*40*/,(C)->_current_type/*4*/);
}
else{
C->_result_type=X62to_runnable((C)->_result_type/*40*/,(C)->_current_type/*4*/);
/*[IF*/
if(!(r171is_runnable((T171*)((C)->_arguments/*36*/),(C)->_current_type/*4*/))){
{T171*n=malloc(sizeof(*n));
*n=M171;
r171with(n,(C)->_arguments/*36*/,(C)->_current_type/*4*/);
C->_arguments=(T0*)n;
}
}
/*FI]*/
}
/*FI]*/
}
/*FI]*/
/*[IF*/
if(r54require_check((T54*)(oBC11run_control))){
C->_require_assertion=r276run_require((T0*)C);
}
/*FI]*/
/*[IF*/
if(r54ensure_check((T54*)(oBC11run_control))){
C->_ensure_assertion=r276run_ensure((T0*)C);
}
/*FI]*/
/*[IF*/
if((((T0*)ms13_1840))==((void*)(_n))){
_rf=r313get_copy((T313*)(r324run_class(C)));
}
else if((((T0*)ms13_8610))==((void*)(_n))){
((/*UT*/(void)((T256*)(r324type_string()))),r256set_at_run_time());
}
else if((((T0*)ms13_30885))==((void*)(_n))){
/*[IRF3.3set_generator_used*/((((T54*)((T54*)(oBC11run_control))))->_generator_used)=(1);
/*]*/
/*[IRF3.3set_generating_type_used*/((((T54*)((T54*)(oBC11run_control))))->_generating_type_used)=(1);
/*]*/
}
else if((((T0*)ms13_14130))==((void*)(_n))){
/*[IRF3.3set_generator_used*/((((T54*)((T54*)(oBC11run_control))))->_generator_used)=(1);
/*]*/
}
else if((((T0*)ms13_13842))==((void*)(_n))){
/*[IRF3.3set_used*/((((T336*)((T336*)(oBC11exceptions_handler))))->_used)=(1);
/*]*/
}
else if((((T0*)ms13_26351))==((void*)(_n))){
/*[IRF3.3set_used*/((((T336*)((T336*)(oBC11exceptions_handler))))->_used)=(1);
/*]*/
}
/*FI]*/
}
/*No:RUN_FEATURE_8.require_assertion*/
/*No:RUN_FEATURE_8.us_generator*/
/*No:RUN_FEATURE_8.us_generating_type*/
/*No:RUN_FEATURE_8.us_se_argc*/
/*No:RUN_FEATURE_8.us_exception*/
/*No:RUN_FEATURE_8.clients_memory*/
/*No:RUN_FEATURE_8.current_type*/
void r324add_client(T324* C,T0* a1){
T2 _i=0;
/*[IF*/
if(((C)->_actuals_clients/*12*/)==((void*)(NULL))){
{T319*n=malloc(sizeof(*n));
*n=M319;
r319with_capacity(n,4);
C->_actuals_clients=(T0*)n;
}
r319add_last((T319*)((C)->_actuals_clients/*12*/),a1);
}
else{
_i=r319fast_index_of((T319*)((C)->_actuals_clients/*12*/),a1);
/*[IF*/
if((_i)>(((T319*)((C)->_actuals_clients/*12*/))->_upper/*8*/)){
r319add_last((T319*)((C)->_actuals_clients/*12*/),a1);
}
/*FI]*/
}
/*FI]*/
r313add_client((T313*)(r324run_class(C)),a1);
}
/*No:RUN_FEATURE_8.us_signal_number*/
void r324make(T324* C,T0* a1,T0* a2,T0* a3){
C->_current_type=a1;
C->_name=a2;
C->_base_feature=a3;
/*[IRF3.5add_rf*/r315put(((T315*)(((T313*)(r324run_class(C)))->_feature_dictionary/*20*/)),(T0*)C,X65to_key(a2));
/*]*/
r42incr_magic_count((T42*)(oBC11small_eiffel));
C->_use_current_state=15;
r42push((T42*)(oBC11small_eiffel),(T0*)C);
r324initialize(C);
r42pop((T42*)(oBC11small_eiffel));
}
/*No:RUN_FEATURE_8.name*/
/*No:RUN_FEATURE_8.local_vars*/
/*No:RUN_FEATURE_8.us_bitn*/
T0* r324clients(T324* C){
T0* R=NULL;
T0* _bfbc=NULL;
T0* _bc=NULL;
/*[IF*/
if(((C)->_clients_memory/*8*/)==((void*)(NULL))){
_bc=X62base_class((C)->_current_type/*4*/);
_bfbc=((T276*)((C)->_base_feature/*32*/))->_base_class/*4*/;
/*[IF*/
if((_bc)==((void*)(_bfbc))){
R=((T276*)((C)->_base_feature/*32*/))->_clients/*16*/;
}
else{
R=r41clients_for(((T41*)_bc),(C)->_name/*16*/);
}
/*FI]*/
C->_clients_memory=R;
}
else{
R=(C)->_clients_memory/*8*/;
}
/*FI]*/
return R;
}
T0* r324type_string(void){
if(fBC11type_string==0){
fBC11type_string=1;
{T256*n=malloc(sizeof(*n));
*n=M256;
r256make(n,NULL);
oBC11type_string=(T0*)n;
}
}
return oBC11type_string;}
void r339add_procedure(T0* a1){
r340add_last((T340*)(oBC339procedure_list),a1);
}
T0*oBC339procedure_list=NULL;
void r339add_function(T0* a1){
r343add_last((T343*)(oBC339function_list),a1);
}
T0*oBC339function_list=NULL;
void r239anchor_cycle_start(T239* C){
T2 _i=0;
/*[IF*/
if((((T38*)(oBC240visited))->_upper/*8*/)<(0)){
r38add_last((T38*)(oBC240visited),(C)->_start_position/*4*/);
}
else if(r38fast_has((T38*)(oBC240visited),(C)->_start_position/*4*/)){
_i=0;
while (!((_i)>(((T38*)(oBC240visited))->_upper/*8*/))) {
r37add_position(/*(IRF4.6item*/(((T38*)(oBC240visited))->_storage/*0*/)[_i]/*)*/);
_i=(_i)+(1);
}
/*[IRF3.6fatal_error*/{T0* b1=((T0*)ms12_47439);
r37fatal_error((T37*)(oBC11eh),b1);
}/*]*/
}
else{
r38add_last((T38*)(oBC240visited),(C)->_start_position/*4*/);
}
/*FI]*/
}
void r239anchor_cycle_end(T239* C){
/*[IF*/
if(((C)->_start_position/*4*/)==((void*)(/*(IRF4.5first*//*(IRF4.6item*/(((T38*)(oBC240visited))->_storage/*0*/)[0]/*)*//*)*/))){
/*[IRF3.3clear*/((((T38*)((T38*)(oBC240visited))))->_upper)=(-(1));
/*]*/
}
/*FI]*/
}
T0* r239generic_list(T239* C){
T0* R=NULL;
/*[IF*/
if(r239is_generic(C)){
R=X62generic_list((C)->_run_type/*16*/);
}
else{
r239fatal_error_generic_list(C);
}
/*FI]*/
return R;
}
T0* r239base_class(T239* C){
T0* R=NULL;
T0* _bcn=NULL;
_bcn=r239base_class_name(C);
/*[IF*/
if((_bcn)!=((void*)(NULL))){
R=r49base_class(((T49*)_bcn));
}
else{
/*[IRF3.6append*/{T0* b1=((T0*)ms62_37098);
r7append((T7*)(oBC37explanation),b1);
}/*]*/
r37add_type((T0*)C,((T0*)ms12_47));
r37print_as_fatal_error((T37*)(oBC11eh));
}
/*FI]*/
return R;
}
T0* r239base_class_name(T239* C){
T0* R=NULL;
R=X62base_class_name((C)->_run_type/*16*/);
return R;
}
/*No:TYPE_LIKE_FEATURE.start_position*/
/*No:TYPE_LIKE_FEATURE.is_formal_generic*/
void r239used_as_reference(T239* C){
X62used_as_reference((C)->_run_type/*16*/);
}
T6 r239is_a_in(T239* C,T0* a1,T0* a2){
T6 R=0;
T0* _ct=NULL;
T0* _t2=NULL;
T0* _t1=NULL;
/*[IF*/
if(((C)->_written_mark/*12*/)==((void*)(X62written_mark(a1)))){
R=1;
}
else{
_ct=(((T313*)a2))->_current_type/*0*/;
_t1=r239to_runnable(C,_ct);
_t2=X62to_runnable(a1,_ct);
/*[IF*/
if((X62run_time_mark(_t1))==((void*)(X62run_time_mark(_t2)))){
R=1;
}
else{
R=X62is_a(_t1,_t2);
}
/*FI]*/
}
/*FI]*/
return R;
}
T2 r239id(T239* C){
T2 R=0;
R=((T313*)(r239run_class(C)))->_id/*4*/;
return R;
}
T6 r239is_pointer(T239* C){
T6 R=0;
R=X62is_pointer((C)->_run_type/*16*/);
return R;
}
T0* r239look_up_for(T239* C,T0* a1,T0* a2){
T0* R=NULL;
R=r41look_up_for((T41*)(r239base_class(C)),a1,a2);
return R;
}
T0* r239to_runnable(T239* C,T0* a1){
T0* R=NULL;
T0* _rt=NULL;
T0* _rc=NULL;
r239anchor_cycle_start(C);
_rc=X62run_class(a1);
_rt=r313get_result_type(((T313*)_rc),(C)->_like_what/*8*/);
/*[IF*/
if(((C)->_run_type/*16*/)==((void*)(NULL))){
C->_run_type=_rt;
R=(T0*)C;
}
else if(((C)->_run_type/*16*/)==((void*)(_rt))){
R=(T0*)C;
}
else{
{T239*n=malloc(sizeof(*n));
*n=M239;
r239with(n,(T0*)C,_rt);
R=(T0*)n;
}
}
/*FI]*/
r239anchor_cycle_end(C);
return R;
}
/*No:TYPE_LIKE_FEATURE.run_type*/
T0* r239run_class(T239* C){
T0* R=NULL;
R=r42run_class((C)->_run_type/*16*/);
return R;
}
T6 r239has_creation(T239* C,T0* a1){
T6 R=0;
R=X62has_creation((C)->_run_type/*16*/,a1);
return R;
}
T0* r239expanded_initializer(T239* C){
T0* R=NULL;
R=X62expanded_initializer((C)->_run_type/*16*/);
return R;
}
/*No:TYPE_LIKE_FEATURE.fz_cad*/
/*No:TYPE_LIKE_FEATURE.is_like_current*/
T6 r239is_boolean(T239* C){
T6 R=0;
R=X62is_boolean((C)->_run_type/*16*/);
return R;
}
T6 r239is_generic(T239* C){
T6 R=0;
R=X62is_generic((C)->_run_type/*16*/);
return R;
}
T6 r239is_bit(T239* C){
T6 R=0;
R=X62is_bit((C)->_run_type/*16*/);
return R;
}
T6 r239is_real(T239* C){
T6 R=0;
R=X62is_real((C)->_run_type/*16*/);
return R;
}
T0*oBC240visited=NULL;
void r239with(T239* C,T0* a1,T0* a2){
C->_start_position=(((T239*)a1))->_start_position/*4*/;
C->_like_what=(((T239*)a1))->_like_what/*8*/;
C->_written_mark=(((T239*)a1))->_written_mark/*12*/;
C->_run_type=a2;
}
T0* r239smallest_ancestor(T239* C,T0* a1){
T0* R=NULL;
R=X62smallest_ancestor((C)->_run_type/*16*/,a1);
return R;
}
T6 r239is_any(T239* C){
T6 R=0;
R=X62is_any((C)->_run_type/*16*/);
return R;
}
/*No:TYPE_LIKE_FEATURE.fatal_error*/
T0* r239run_time_mark(T239* C){
T0* R=NULL;
/*[IF*/
if(((C)->_run_type/*16*/)!=((void*)(NULL))){
R=X62run_time_mark((C)->_run_type/*16*/);
}
/*FI]*/
return R;
}
T6 r239is_expanded(T239* C){
T6 R=0;
R=X62is_expanded((C)->_run_type/*16*/);
return R;
}
T6 r239is_basic_eiffel_expanded(T239* C){
T6 R=0;
R=X62is_basic_eiffel_expanded((C)->_run_type/*16*/);
return R;
}
/*No:TYPE_LIKE_FEATURE.fz_like*/
T6 r239is_string(T239* C){
T6 R=0;
R=X62is_string((C)->_run_type/*16*/);
return R;
}
T6 r239is_integer(T239* C){
T6 R=0;
R=X62is_integer((C)->_run_type/*16*/);
return R;
}
/*No:TYPE_LIKE_FEATURE.is_like_feature*/
/*No:TYPE_LIKE_FEATURE.fz_dot*/
/*No:TYPE_LIKE_FEATURE.is_anchored*/
/*No:TYPE_LIKE_FEATURE.is_run_type*/
T6 r239is_a(T239* C,T0* a1){
T6 R=0;
T0* _tlf=NULL;
/*[IF*/
if(X62is_like_feature(a1)){
_tlf=a1;
if(NULL!=(_tlf))switch(((T0*)_tlf)->id) {
case 239:
break;
default:
_tlf=NULL;
};/*[IF*/
if((X65to_string((C)->_like_what/*8*/))==((void*)(X65to_string((((T239*)_tlf))->_like_what/*8*/)))){
R=1;
}
else{
R=X62is_a((C)->_run_type/*16*/,a1);
}
/*FI]*/
}
else{
R=X62is_a((C)->_run_type/*16*/,a1);
}
/*FI]*/
/*[IF*/
if(!(R)){
r37add_position((C)->_start_position/*4*/);
}
/*FI]*/
return R;
}
T6 r239is_character(T239* C){
T6 R=0;
R=X62is_character((C)->_run_type/*16*/);
return R;
}
T6 r239is_reference(T239* C){
T6 R=0;
R=X62is_reference((C)->_run_type/*16*/);
return R;
}
/*No:TYPE_LIKE_FEATURE.written_mark*/
/*No:TYPE_LIKE_FEATURE.like_what*/
/*No:TYPE_LIKE_FEATURE.tmp_written_mark*/
void r239make(T239* C,T0* a1,T0* a2){
C->_start_position=a1;
C->_like_what=a2;
r7copy((T7*)(((T0*)ms240_87371)),((T0*)ms12_1724));
r7extend((T7*)(((T0*)ms240_87371)),'\40');
X65declaration_in((C)->_like_what/*8*/,((T0*)ms240_87371));
C->_written_mark=r66item(((T0*)ms240_87371));
}
T6 r239is_none(T239* C){
T6 R=0;
R=X62is_none((C)->_run_type/*16*/);
return R;
}
/*No:TYPE_LIKE_FEATURE.pretty_print*/
T6 r239is_array(T239* C){
T6 R=0;
R=X62is_array((C)->_run_type/*16*/);
return R;
}
void r239fatal_error_generic_list(T239* C){
r37add_type((T0*)C,((T0*)ms62_29184));
r37print_as_fatal_error((T37*)(oBC11eh));
}
/*No:TYPE_LIKE_FEATURE.is_like_argument*/
T6 r239is_double(T239* C){
T6 R=0;
R=X62is_double((C)->_run_type/*16*/);
return R;
}
/*No:NATIVE_JVM_INVOKEVIRTUAL.fz_jvm_invokevirtual*/
T0* r285language_name(void){
T0* R=NULL;
R=((T0*)ms12_38896);
return R;
}
/*No:NATIVE_JVM_INVOKEVIRTUAL.pretty_print*/
/*No:CALL_INFIX_POWER.feature_name*/
/*No:CALL_INFIX_POWER.right_brackets*/
T0* r178start_position(T178* C){
T0* R=NULL;
R=((T121*)((C)->_feature_name/*12*/))->_start_position/*8*/;
return R;
}
T0* r178add_comment(T178* C,T0* a1){
T0* R=NULL;
/*[IF*/
if(((a1)==((void*)(NULL)))||((/*(IRF4.6count*/r32count(((T32*)((((T64*)a1))->_list/*4*/)))/*)*/)==(0))){
R=(T0*)C;
}
else{
{T214*n=malloc(sizeof(*n));
*n=M214;
r214make(n,(T0*)C,a1);
R=(T0*)n;
}
}
/*FI]*/
return R;
}
T2 r178to_integer(T178* C){
T2 R=0;
r178error(r178start_position(C),((T0*)ms12_45846));
return R;
}
void r178bracketed_pretty_print(T178* C){
r310put_character((T310*)(oBC11fmt),'\50');
r178pretty_print(C);
r310put_character((T310*)(oBC11fmt),'\51');
}
void r178print_op(T178* C){
r310put_character((T310*)(oBC11fmt),'\40');
/*[IRF3.6pretty_print*/{T121* C1=(T121*)((C)->_feature_name/*12*/);
r310put_string((T310*)(oBC11fmt),(C1)->_to_string/*4*/);
}/*]*/
r310put_character((T310*)(oBC11fmt),'\40');
}
T0* r178to_runnable(T178* C,T0* a1){
T0* R=NULL;
T0* _rf=NULL;
T0* _tbee=NULL;
T0* _at=NULL;
T0* _tt=NULL;
T0* _a=NULL;
T0* _t=NULL;
_t=r178runnable_expression((C)->_target/*4*/,a1);
_a=r178runnable_args((C)->_arguments/*8*/,a1);
_tt=X89result_type(_t);
_at=X89result_type(/*(IRF4.6arg1*//*(IRF4.3first*/(((T132*)((C)->_arguments/*8*/)))->_first_one/*0*//*)*//*)*/);
/*[IF*/
/*AF*//*AE*/
/*FI]*/
_rf=r178run_feature_for(C,_t,a1);
/*[IF*/
if(((C)->_run_feature/*16*/)==((void*)(NULL))){
C->_target=_t;
C->_arguments=_a;
C->_run_feature=_rf;
r178run_feature_match(C,a1);
R=(T0*)C;
}
else if(((_t)==((void*)((C)->_target/*4*/)))&&((_a)==((void*)((C)->_arguments/*8*/)))){
R=(T0*)C;
}
else{
{T178*n=malloc(sizeof(*n));
*n=M178;
r178with(n,_t,(C)->_feature_name/*12*/,_a,_rf,a1);
R=(T0*)n;
}
}
/*FI]*/
return R;
}
/*No:CALL_INFIX_POWER.fz_bad_argument*/
/*No:CALL_INFIX_POWER.fz_iinaiv*/
T0* r178result_type(T178* C){
T0* R=NULL;
T0* _tla=NULL;
R=X312result_type((C)->_run_feature/*16*/);
/*[IF*/
if(X62is_like_current(R)){
R=/*X312current_type*/((T0*)((T325*)((C)->_run_feature/*16*/))->_current_type/*4*/);
}
else{
_tla=R;
if(NULL!=(_tla))switch(((T0*)_tla)->id) {
case 242:
break;
default:
_tla=NULL;
};/*[IF*/
if((_tla)!=((void*)(NULL))){
R=X62run_type(X89result_type(/*(IRF4.6arg1*//*(IRF4.3first*/(((T132*)((C)->_arguments/*8*/)))->_first_one/*0*//*)*//*)*/));
}
/*FI]*/
}
/*FI]*/
return R;
}
/*No:CALL_INFIX_POWER.run_feature*/
T0* r178runnable_args(T0* a1,T0* a2){
T0* R=NULL;
R=r132to_runnable(((T132*)a1),a2);
/*[IF*/
if((R)==((void*)(NULL))){
r37add_position(r132start_position(((T132*)a1)));
/*[IRF3.6fatal_error*/{T0* b1=((T0*)ms12_13065);
r37fatal_error((T37*)(oBC11eh),b1);
}/*]*/
}
/*FI]*/
return R;
}
void r178with(T178* C,T0* a1,T0* a2,T0* a3,T0* a4,T0* a5){
C->_target=a1;
C->_feature_name=a2;
C->_arguments=a3;
C->_run_feature=a4;
r178run_feature_match(C,a5);
}
/*No:CALL_INFIX_POWER.fatal_error*/
void r178run_feature_match(T178* C,T0* a1){
r178run_feature_has_result(C);
r132match_with((T132*)((C)->_arguments/*8*/),(C)->_run_feature/*16*/,a1);
}
/*No:CALL_INFIX_POWER.arguments*/
T0* r178runnable_expression(T0* a1,T0* a2){
T0* R=NULL;
R=X89to_runnable(a1,a2);
/*[IF*/
if((R)==((void*)(NULL))){
r37add_position(X89start_position(a1));
/*[IRF3.6fatal_error*/{T0* b1=((T0*)ms101_16515);
r37fatal_error((T37*)(oBC11eh),b1);
}/*]*/
}
/*FI]*/
return R;
}
/*No:CALL_INFIX_POWER.left_brackets*/
/*No:CALL_INFIX_POWER.implicit_cast*/
void r178print_as_target(T178* C){
r310put_character((T310*)(oBC11fmt),'\50');
r178pretty_print(C);
r310put_character((T310*)(oBC11fmt),'\51');
r310put_character((T310*)(oBC11fmt),'\56');
}
/*No:CALL_INFIX_POWER.arg1*/
void r178run_feature_has_result(T178* C){
/*[IF*/
if((X312result_type((C)->_run_feature/*16*/))==((void*)(NULL))){
r37add_position(X312start_position((C)->_run_feature/*16*/));
r37add_position(((T121*)((C)->_feature_name/*12*/))->_start_position/*8*/);
/*[IRF3.6fatal_error*/{T0* b1=((T0*)ms100_53650);
r37fatal_error((T37*)(oBC11eh),b1);
}/*]*/
}
/*FI]*/
}
T0* r178run_feature_for(T178* C,T0* a1,T0* a2){
T0* R=NULL;
T0* _rc=NULL;
_rc=X62run_class(X89result_type(a1));
R=r313get_rf(((T313*)_rc),a1,(C)->_feature_name/*12*/,a2);
return R;
}
/*No:CALL_INFIX_POWER.target*/
void r178error(T0* a1,T0* a2){
r37add_position(a1);
r37error((T37*)(oBC11eh),a2);
}
/*No:CALL_INFIX_POWER.precedence*/
void r178make(T178* C,T0* a1,T0* a2,T0* a3){
C->_target=a1;
{T121*n=malloc(sizeof(*n));
*n=M121;
r121make(n,r178operator(),a2);
C->_feature_name=(T0*)n;
}
{T132*n=malloc(sizeof(*n));
*n=M132;
/*[IRF3.3make_1*/((((T132*)(n)))->_first_one)=(a3);
/*]*/
C->_arguments=(T0*)n;
}
}
/*No:CALL_INFIX_POWER.is_current*/
void r178pretty_print(T178* C){
/*[IF*/
if((X89precedence((C)->_target/*4*/))==(13)){
X89pretty_print((C)->_target/*4*/);
}
else if((9)>(X89precedence((C)->_target/*4*/))){
X89bracketed_pretty_print((C)->_target/*4*/);
}
else if((9)<(X89precedence((C)->_target/*4*/))){
X89pretty_print((C)->_target/*4*/);
}
else {/*AT*/X89bracketed_pretty_print((C)->_target/*4*/);
}
/*FI]*/
r178print_op(C);
/*[IF*/
if((X89precedence(/*(IRF4.6arg1*//*(IRF4.3first*/(((T132*)((C)->_arguments/*8*/)))->_first_one/*0*//*)*//*)*/))==(13)){
X89pretty_print(/*(IRF4.6arg1*//*(IRF4.3first*/(((T132*)((C)->_arguments/*8*/)))->_first_one/*0*//*)*//*)*/);
}
else if((9)>(X89precedence(/*(IRF4.6arg1*//*(IRF4.3first*/(((T132*)((C)->_arguments/*8*/)))->_first_one/*0*//*)*//*)*/))){
X89bracketed_pretty_print(/*(IRF4.6arg1*//*(IRF4.3first*/(((T132*)((C)->_arguments/*8*/)))->_first_one/*0*//*)*//*)*/);
}
else if((9)<(X89precedence(/*(IRF4.6arg1*//*(IRF4.3first*/(((T132*)((C)->_arguments/*8*/)))->_first_one/*0*//*)*//*)*/))){
X89pretty_print(/*(IRF4.6arg1*//*(IRF4.3first*/(((T132*)((C)->_arguments/*8*/)))->_first_one/*0*//*)*//*)*/);
}
/*AF*/else{
X89pretty_print(/*(IRF4.6arg1*//*(IRF4.3first*/(((T132*)((C)->_arguments/*8*/)))->_first_one/*0*//*)*//*)*/);
}
/*FI]*/
}
/*No:CALL_INFIX_POWER.is_void*/
T0* r178operator(void){
T0* R=NULL;
R=((T0*)ms13_95);
return R;
}
/*No:CALL_INFIX_POWER.us_pow*/
/*No:CALL_INFIX_POWER.atomic_precedence*/
/*No:ECHO.fz_b0*/
void r33sfr_connect(T33* C,T0* a1,T0* a2){
r33put_string(C,((T0*)ms33_26523));
r33put_string(C,a2);
r33put_string(C,((T0*)ms12_288));
r29connect_to(((T29*)a1),a2);
}
/*No:ECHO.verbose*/
void r33w_put_string(T0* a1){
r34put_string((T34*)(oBC1std_error),a1);
/*[IRF3.6flush*/{T34* C1=(T34*)(oBC1std_error);
fflush(stderr);
}/*]*/
}
T0*oBC1std_output=NULL;
void r33w_put_integer(T2 a1){
r34put_integer((T34*)(oBC1std_error),a1);
/*[IRF3.6flush*/{T34* C1=(T34*)(oBC1std_error);
fflush(stderr);
}/*]*/
}
void r33put_string(T33* C,T0* a1){
/*[IF*/
if((C)->_verbose/*0*/){
r36put_string((T36*)(oBC1std_output),a1);
/*[IRF3.6flush*/{T36* C1=(T36*)(oBC1std_output);
fflush(stdout);
}/*]*/
}
/*FI]*/
}
/*No:ECHO.make*/
void r33put_character(T33* C,T3 a1){
/*[IF*/
if((C)->_verbose/*0*/){
/*[IRF3.6put_character*/{T36* C1=(T36*)(oBC1std_output);
T3 b1=a1;
putc(b1,((FILE*)(stdout)));
}/*]*/
/*[IRF3.6flush*/{T36* C1=(T36*)(oBC1std_output);
fflush(stdout);
}/*]*/
}
/*FI]*/
}
void r33put_integer(T33* C,T2 a1){
/*[IF*/
if((C)->_verbose/*0*/){
r36put_integer((T36*)(oBC1std_output),a1);
/*[IRF3.6flush*/{T36* C1=(T36*)(oBC1std_output);
fflush(stdout);
}/*]*/
}
/*FI]*/
}
void r33w_put_character(T3 a1){
/*[IRF3.6put_character*/{T34* C1=(T34*)(oBC1std_error);
T3 b1=a1;
putc(b1,((FILE*)(stderr)));
}/*]*/
/*[IRF3.6flush*/{T34* C1=(T34*)(oBC1std_error);
fflush(stderr);
}/*]*/
}
/*No:PROC_CALL_0.feature_name*/
void r146run_feature_match(T146* C){
r146run_feature_has_no_result(C);
/*[IF*/
if((X312arg_count((C)->_run_feature/*12*/))>(0)){
r37add_position(X65start_position((C)->_feature_name/*8*/));
r37add_position(X312start_position((C)->_run_feature/*12*/));
/*[IRF3.6fatal_error*/{T0* b1=((T0*)ms146_50512);
r37fatal_error((T37*)(oBC11eh),b1);
}/*]*/
}
/*FI]*/
}
/*No:PROC_CALL_0.arguments*/
T0* r146runnable_expression(T0* a1,T0* a2){
T0* R=NULL;
R=X89to_runnable(a1,a2);
/*[IF*/
if((R)==((void*)(NULL))){
r37add_position(X89start_position(a1));
/*[IRF3.6fatal_error*/{T0* b1=((T0*)ms101_16515);
r37fatal_error((T37*)(oBC11eh),b1);
}/*]*/
}
/*FI]*/
return R;
}
T0* r146start_position(T146* C){
T0* R=NULL;
R=X65start_position((C)->_feature_name/*8*/);
return R;
}
T0* r146add_comment(T146* C,T0* a1){
T0* R=NULL;
/*[IF*/
if(((a1)==((void*)(NULL)))||((/*(IRF4.6count*/r32count(((T32*)((((T64*)a1))->_list/*4*/)))/*)*/)==(0))){
R=(T0*)C;
}
/*AF*/else{
{T209*n=malloc(sizeof(*n));
*n=M209;
r209make(n,(T0*)C,a1);
R=(T0*)n;
}
}
/*FI]*/
return R;
}
void r146run_feature_has_no_result(T146* C){
/*[IF*/
if((X312result_type((C)->_run_feature/*12*/))!=((void*)(NULL))){
r37add_position(X312start_position((C)->_run_feature/*12*/));
r37add_position(X65start_position((C)->_feature_name/*8*/));
/*[IRF3.6fatal_error*/{T0* b1=((T0*)ms145_67122);
r37fatal_error((T37*)(oBC11eh),b1);
}/*]*/
}
/*FI]*/
}
T0* r146to_runnable(T146* C,T0* a1){
T0* R=NULL;
T0* _rf=NULL;
T0* _t=NULL;
_t=r146runnable_expression((C)->_target/*4*/,a1);
_rf=r146run_feature_for(C,_t,a1);
/*[IF*/
if(((C)->_run_feature/*12*/)==((void*)(NULL))){
C->_target=_t;
C->_run_feature=_rf;
r146run_feature_match(C);
R=(T0*)C;
}
else if((_t)==((void*)((C)->_target/*4*/))){
R=(T0*)C;
}
else{
{T146*n=malloc(sizeof(*n));
*n=M146;
r146make(n,_t,(C)->_feature_name/*8*/);
R=(T0*)n;
}
R=r146to_runnable(((T146*)R),a1);
}
/*FI]*/
return R;
}
/*No:PROC_CALL_0.set_run_feature*/
T0* r146run_feature_for(T146* C,T0* a1,T0* a2){
T0* R=NULL;
T0* _rc=NULL;
_rc=X62run_class(X89result_type(a1));
R=r313get_rf(((T313*)_rc),a1,(C)->_feature_name/*8*/,a2);
return R;
}
/*No:PROC_CALL_0.target*/
/*No:PROC_CALL_0.run_feature*/
/*No:PROC_CALL_0.end_mark_comment*/
void r146make(T146* C,T0* a1,T0* a2){
C->_target=a1;
C->_feature_name=a2;
}
void r146pretty_print(T146* C){
X89print_as_target((C)->_target/*4*/);
r310put_string((T310*)(oBC11fmt),X65to_string((C)->_feature_name/*8*/));
/*[IF*/
if(((T310*)(oBC11fmt))->_semi_colon_flag/*25*/){
r310put_character((T310*)(oBC11fmt),'\73');
}
/*FI]*/
}
T0* r146make_runnable(T146* C,T0* a1,T0* a2,T0* a3){
T0* R=NULL;
/*[IF*/
if(((C)->_run_feature/*12*/)==((void*)(NULL))){
C->_target=a1;
C->_run_feature=a3;
R=(T0*)C;
}
else{
{T146*n=malloc(sizeof(*n));
*n=M146;
r146make(n,a1,(C)->_feature_name/*8*/);
R=(T0*)n;
}
/*[IRF3.3set_run_feature*/((((T146*)(((T146*)R))))->_run_feature)=(a3);
/*]*/
}
/*FI]*/
return R;
}
/*No:PROC_CALL_0.arg_count*/
/*No:PROC_CALL_0.fatal_error*/
void r242anchor_cycle_start(T242* C){
T2 _i=0;
/*[IF*/
if((((T38*)(oBC240visited))->_upper/*8*/)<(0)){
r38add_last((T38*)(oBC240visited),(C)->_start_position/*4*/);
}
else if(r38fast_has((T38*)(oBC240visited),(C)->_start_position/*4*/)){
_i=0;
while (!((_i)>(((T38*)(oBC240visited))->_upper/*8*/))) {
r37add_position(/*(IRF4.6item*/(((T38*)(oBC240visited))->_storage/*0*/)[_i]/*)*/);
_i=(_i)+(1);
}
/*[IRF3.6fatal_error*/{T0* b1=((T0*)ms12_47439);
r37fatal_error((T37*)(oBC11eh),b1);
}/*]*/
}
else{
r38add_last((T38*)(oBC240visited),(C)->_start_position/*4*/);
}
/*FI]*/
}
void r242anchor_cycle_end(T242* C){
/*[IF*/
if(((C)->_start_position/*4*/)==((void*)(/*(IRF4.5first*//*(IRF4.6item*/(((T38*)(oBC240visited))->_storage/*0*/)[0]/*)*//*)*/))){
/*[IRF3.3clear*/((((T38*)((T38*)(oBC240visited))))->_upper)=(-(1));
/*]*/
}
/*FI]*/
}
T0* r242generic_list(T242* C){
T0* R=NULL;
/*[IF*/
if(r242is_generic(C)){
R=X62generic_list(r242run_type(C));
}
else{
r242fatal_error_generic_list(C);
}
/*FI]*/
return R;
}
T0* r242base_class(T242* C){
T0* R=NULL;
T0* _bcn=NULL;
_bcn=r242base_class_name(C);
/*[IF*/
if((_bcn)!=((void*)(NULL))){
R=r49base_class(((T49*)_bcn));
}
else{
/*[IRF3.6append*/{T0* b1=((T0*)ms62_37098);
r7append((T7*)(oBC37explanation),b1);
}/*]*/
r37add_type((T0*)C,((T0*)ms12_47));
r37print_as_fatal_error((T37*)(oBC11eh));
}
/*FI]*/
return R;
}
T0* r242base_class_name(T242* C){
T0* R=NULL;
R=X62base_class_name(r242run_type(C));
return R;
}
/*No:TYPE_LIKE_ARGUMENT.start_position*/
/*No:TYPE_LIKE_ARGUMENT.is_formal_generic*/
void r242used_as_reference(T242* C){
X62used_as_reference(r242run_type(C));
}
T6 r242is_a_in(T242* C,T0* a1,T0* a2){
T6 R=0;
T0* _ct=NULL;
T0* _t2=NULL;
T0* _t1=NULL;
/*[IF*/
if(((C)->_written_mark/*12*/)==((void*)(X62written_mark(a1)))){
R=1;
}
else{
_ct=(((T313*)a2))->_current_type/*0*/;
_t1=r242to_runnable(C,_ct);
_t2=X62to_runnable(a1,_ct);
/*[IF*/
if((X62run_time_mark(_t1))==((void*)(X62run_time_mark(_t2)))){
R=1;
}
else{
R=X62is_a(_t1,_t2);
}
/*FI]*/
}
/*FI]*/
return R;
}
/*No:TYPE_LIKE_ARGUMENT.rank*/
/*No:TYPE_LIKE_ARGUMENT.fz_bad_anchor*/
T2 r242id(T242* C){
T2 R=0;
R=((T313*)(r242run_class(C)))->_id/*4*/;
return R;
}
T6 r242is_pointer(T242* C){
T6 R=0;
R=X62is_pointer(r242run_type(C));
return R;
}
T0* r242look_up_for(T242* C,T0* a1,T0* a2){
T0* R=NULL;
R=r41look_up_for((T41*)(r242base_class(C)),a1,a2);
return R;
}
T0* r242to_runnable(T242* C,T0* a1){
T0* R=NULL;
T0* _rt=NULL;
T0* _rf=NULL;
r242anchor_cycle_start(C);
_rf=r42top_rf((T42*)(oBC11small_eiffel));
/*[IF*/
if((X312arguments(_rf))==((void*)(NULL))){
r37add_position((C)->_start_position/*4*/);
r37add_position(X312start_position(_rf));
/*[IRF3.6fatal_error*/{T0* b1=((T0*)ms12_10043);
r37fatal_error((T37*)(oBC11eh),b1);
}/*]*/
}
/*FI]*/
/*[IF*/
if(((C)->_run_feature/*16*/)==((void*)(NULL))){
C->_run_feature=_rf;
R=(T0*)C;
}
else if(((C)->_run_feature/*16*/)==((void*)(_rf))){
R=(T0*)C;
}
else{
{T242*n=malloc(sizeof(*n));
*n=M242;
r242with(n,(T0*)C,_rf);
R=(T0*)n;
}
}
/*FI]*/
_rt=r242run_type(((T242*)R));
/*[IF*/
if(X62is_anchored(_rt)){
_rt=X62to_runnable(_rt,a1);
}
/*FI]*/
r242anchor_cycle_end(C);
return R;
}
T0* r242run_type(T242* C){
T0* R=NULL;
T0* _fal=NULL;
_fal=X312arguments((C)->_run_feature/*16*/);
R=r171type(((T171*)_fal),/*(IRF4.6rank*/(((T172*)((C)->_like_what/*8*/)))->_rank/*8*//*)*/);
/*[IF*/
if(X62is_run_type(R)){
R=X62run_type(R);
}
/*FI]*/
return R;
}
T0* r242run_class(T242* C){
T0* R=NULL;
R=r42run_class(r242run_type(C));
return R;
}
T6 r242has_creation(T242* C,T0* a1){
T6 R=0;
R=X62has_creation(r242run_type(C),a1);
return R;
}
T0* r242expanded_initializer(T242* C){
T0* R=NULL;
R=X62expanded_initializer(r242run_type(C));
return R;
}
/*No:TYPE_LIKE_ARGUMENT.fz_cad*/
/*No:TYPE_LIKE_ARGUMENT.run_feature*/
/*No:TYPE_LIKE_ARGUMENT.is_like_current*/
T6 r242is_boolean(T242* C){
T6 R=0;
R=X62is_boolean(r242run_type(C));
return R;
}
T6 r242is_generic(T242* C){
T6 R=0;
R=X62is_generic(r242run_type(C));
return R;
}
T6 r242is_bit(T242* C){
T6 R=0;
R=X62is_bit(r242run_type(C));
return R;
}
T6 r242is_real(T242* C){
T6 R=0;
R=X62is_real(r242run_type(C));
return R;
}
void r242with(T242* C,T0* a1,T0* a2){
C->_start_position=(((T242*)a1))->_start_position/*4*/;
C->_like_what=(((T242*)a1))->_like_what/*8*/;
C->_written_mark=(((T242*)a1))->_written_mark/*12*/;
C->_run_feature=a2;
}
T0* r242smallest_ancestor(T242* C,T0* a1){
T0* R=NULL;
R=X62smallest_ancestor(r242run_type(C),a1);
return R;
}
T6 r242is_any(T242* C){
T6 R=0;
R=X62is_any(r242run_type(C));
return R;
}
/*No:TYPE_LIKE_ARGUMENT.fatal_error*/
T0* r242run_time_mark(T242* C){
T0* R=NULL;
/*[IF*/
if((r242run_type(C))!=((void*)(NULL))){
R=X62run_time_mark(r242run_type(C));
}
/*FI]*/
return R;
}
T6 r242is_expanded(T242* C){
T6 R=0;
R=X62is_expanded(r242run_type(C));
return R;
}
T6 r242is_basic_eiffel_expanded(T242* C){
T6 R=0;
R=X62is_basic_eiffel_expanded(r242run_type(C));
return R;
}
/*No:TYPE_LIKE_ARGUMENT.fz_like*/
T6 r242is_string(T242* C){
T6 R=0;
R=X62is_string(r242run_type(C));
return R;
}
T6 r242is_integer(T242* C){
T6 R=0;
R=X62is_integer(r242run_type(C));
return R;
}
/*No:TYPE_LIKE_ARGUMENT.is_like_feature*/
/*No:TYPE_LIKE_ARGUMENT.fz_dot*/
/*No:TYPE_LIKE_ARGUMENT.is_anchored*/
T6 r242is_run_type(T242* C){
T6 R=0;
/*[IF*/
if(((C)->_run_feature/*16*/)!=((void*)(NULL))){
R=X62is_run_type(r242run_type(C));
}
/*FI]*/
return R;
}
T6 r242is_a(T242* C,T0* a1){
T6 R=0;
R=X62is_a(r242run_type(C),a1);
return R;
}